package com.neo.base

import com.neo.base.TestScala

import scala.math._

object Test {

  def main(args: Array[String]): Unit = {
    var testScala = new TestScala
    var aaa = new Array[String](3)
    aaa(0) = "Hello"
    aaa(1) = "world"
    aaa(2) = "!"
    testScala.TTTT(aaa)


     val  aa = 9223372036854775807L;
    println(aa)


    val up  = new Upper
    up.upper("asdfasdasdDDDD")

    val bb  = 234342L;
    println(bb)

    println(1.toString)
    println(1 to (10))
    println("Hello world!".intersect("llo worasdfasdfas"))
    val x: BigInt = 1234567890
    println(x * x * x * x  *x *x)

    val y: Double = sqrt(2)
    println(sqrt(2))
    println(BigInt.probablePrime(100,scala.util.Random))

    println(BigInt("238462340927349286352938442365293874298375623947")  * BigInt("23489237424287498"))
    println("hello"(4))
    println("hello".apply(4))


    print(min(3.5,Pi))

  }
}
